var chokidar = require('chokidar');
const fs =require('fs')

chokidar.watch('./index.html').on('change', () => {
  var  template = fs.readFileSync('./index.html','utf-8')
    console.log(template)
})
console.log('listen')